package com.itheima.springboottilasmanager.survice;

import com.itheima.springboottilasmanager.pojo.domain.Emp;
import com.itheima.springboottilasmanager.pojo.domain.PageResult;
import com.itheima.springboottilasmanager.pojo.vo.QueryParam;

import java.util.List;

public interface EmpService {
    PageResult<Emp> page(QueryParam queryParam);

    void saveEmp(Emp emp);
    void deleteEmp(List<Integer> ids);

    Emp findById(Integer id);
//修改员工

    void updateEmp(Emp emp);

    List<Emp> selectall();

    Emp login(Emp emp);

}
